package com.joymeter.data.service;

import com.joymeter.data.entity.DeviceInfo;

import java.util.List;

/**
 * @ClassName DeviceInfoService
 * @Description TODO
 * @Author liang
 * @Date 2018/8/12 13:07
 * @Version 1.0
 **/
public interface DeviceInfoService {
     DeviceInfo selectDeviceInfoById(String deviceId);
     DeviceInfo selectDeviceInfoByValId(String valveId);

     Integer updateDeviceInfo(DeviceInfo deviceInfo) throws Exception;
     Integer getDeviceCount(DeviceInfo deviceInfo);
     List<DeviceInfo> selectNoneDateADay();

     boolean insertDeviceInfo(DeviceInfo deviceInfo);
     boolean deleteDeviceInfoById(String deviceId);
     DeviceInfo selectByRand();

}
